module.exports = (app, basicUrl) => {
  //定时任务调度日志表查询
  app.router.get(
    basicUrl + "/monitor/jobLog/list",
    app.controller.monitor.sysJobLog.list
  );

  //定时任务调度日志表详情
  app.router.get(
    basicUrl + "/monitor/jobLog/:jobLogId",
    app.controller.monitor.sysJobLog.detail
  );

  //定时任务调度日志表新增
  app.router.post(
    basicUrl + "/monitor/jobLog",
    app.controller.monitor.sysJobLog.create
  );

  //定时任务调度日志表删除
  app.router.delete(
    basicUrl + "/monitor/jobLog/:jobLogId",
    app.controller.monitor.sysJobLog.delete
  );

  //定时任务调度日志表修改
  app.router.put(
    basicUrl + "/monitor/jobLog",
    app.controller.monitor.sysJobLog.update
  );

  //定时任务调度日志表导出
  app.router.post(
    basicUrl + "/monitor/jobLog/export",
    app.controller.monitor.sysJobLog.downLoad
  );
};
